﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="TrainingLogin.aspx.cs" Inherits="SignUpLogin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


<style type="text/css">
<!--
body,div,ul,li{
margin:0 auto;
padding:0;
}
body{
font:13px "宋体";
text-align:center;
}
a:link{
color:#00F;
text-decoration:none;
}
a:visited {
color: #00F;
text-decoration:none;
}
a:hover {
color: #c00;
text-decoration:underline;
}
ul{
list-style:none;
}
.main{
clear:both;
padding:8px;
text-align:center;
}
/*第一种形式*/
#tabs0 {
height: 440px;
width: 800px;
border: 1px solid #cbcbcb;
background-color: #f2f6fb;
margin-top: 10px;
}
.menu0{
width: 100%;
}
.menu0 li{
display:block;
float: left;
padding: 4px 0;
width:50%;
text-align: center;
cursor:pointer;
background: #FFFFff;
height: 30px;
line-height: 30px;
overflow: auto;
}
.menu0 li.hover{
background: #f2f6fb;
}
#main0 div{
display: none;
}
#main0 div.block{
display: block;
}
-->
</style>

<script type="text/javascript">
<!--
	/*第一种形式 第二种形式 更换显示样式*/
	function setTab(m, n) {
		var tli = document.getElementById("menu" + m).getElementsByTagName("li");
		var mli = document.getElementById("main" + m).getElementsByTagName("div");
		for (i = 0; i < tli.length; i++) {
			tli[i].className = i == n ? "hover" : "";
			mli[i].style.display = i == n ? "block" : "none";
		}
	}
//-->
</script>
	<div id="tabs0">
		<ul class="menu0" id="menu0">
			<li onclick="setTab(0,0)" class="hover">已有用户名</li>
			<li onclick="setTab(0,1)">没有用户名</li>
		</ul>
		<div class="main" id="main0">
			<div class="block">
				<table>
					<tr>
						<td>用户名</td>
						<td><asp:TextBox runat="server" ID="TbUsername"></asp:TextBox></td>
					</tr>
					<tr>
						<td>密码</td>
						<td><asp:TextBox runat="server" TextMode="Password" ID="TbPassword"></asp:TextBox></td>
					</tr>
					<tr>
						<td colspan="2"><asp:Button ID="BtnRegisterLogin" runat="server" Text="登录" /></td>
					</tr>
				</table>
			</div>
			<div>
				<table>
					<tr>
						<td>工号</td>
						<td><asp:TextBox runat="server" ID="TbJobNumber"></asp:TextBox></td>
					</tr>
					<tr>
						<td>姓名</td>
						<td><asp:TextBox runat="server" ID="TbName"></asp:TextBox></td>
					</tr>
					<tr>
						<td>身份证</td>
						<td><asp:TextBox runat="server" ID="TbIDCard"></asp:TextBox></td>
					</tr>
					<tr>
						<td>
							<asp:Button runat="server" Text="登录" ID="BtnSignUp" />
							<asp:HyperLink runat="server" Text="注册" NavigateUrl="~/Register.aspx"></asp:HyperLink>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</asp:Content>

